﻿using System.ComponentModel;

namespace DataModels.Enums.House
{
    /// <summary>
    /// 房屋状态
    /// </summary>
    public enum HouseStatus
    {

        /// <summary>
        /// 已售
        /// </summary>
        [Description("已售")]
        Sold = 1,

        /// <summary>
        /// 未售
        /// </summary>
        [Description("未售")]
        Available = 2,

        /// <summary>
        /// 已抵押
        /// </summary>
        [Description("已抵押")]
        Mortgaged = 3,

        /// <summary>
        /// 查封
        /// </summary>
        [Description("查封")]
        Sealed = 4
    }

    /// <summary>
    /// 房屋用途
    /// </summary>
    public enum UsageType
    {
        /// <summary>
        /// 住宅
        /// </summary>
        [Description("住宅")]
        Residential = 1,

        /// <summary>
        /// 出租
        /// </summary>
        [Description("出租")]
        Rental = 2,

        /// <summary>
        /// 商业
        /// </summary>
        [Description("商业")]
        Commercial = 3,

        /// <summary>
        /// 办公
        /// </summary>
        [Description("办公")]
        Office = 4,

        /// <summary>
        /// 其他
        /// </summary>
        [Description("其他")]
        Other = 5
    }

    /// 房屋用户关系类型
    /// </summary>
    public enum HousingUserRelationType
    {
        /// <summary>
        /// 业主
        /// </summary>
        [Description("业主")]
        Owner = 1,

        /// <summary>
        /// 业主成员
        /// </summary>
        [Description("业主成员")]
        SubOwner = 2,

        /// <summary>
        /// 租户
        /// </summary>
        [Description("租户")]
        Tenant = 3,

        /// <summary>
        /// 租户成员
        /// </summary>
        [Description("租户成员")]
        SubTenant = 4,
    }

    /// <summary>
    /// 房屋用户关系状态
    /// </summary>
    public enum HousingUserRelationStatus
    {
        /// <summary>
        /// 有效
        /// </summary>
        [Description("有效")]
        Active = 1,

        /// <summary>
        /// 已过期
        /// </summary>
        [Description("已过期")]
        Expired = 2,

        /// <summary>
        /// 已终止
        /// </summary>
        [Description("已终止")]
        Terminated = 3,

        /// <summary>
        /// 待确认
        /// </summary>
        [Description("待确认")]
        Pending = 4
    }
}
